<legend class='hyc-legend'>
    <i class="fa fa-tasks"></i>&nbsp;
    <span>公司列表</span>
</legend>
<div class="panel-title" style="padding-bottom: 12px;">
	<div class="btn btn-warning btn-sm" ui-sref="company-edit-view" >新增公司信息</div>
</div>
<table class="table table-bordered">
    <tr>
        <th class="text-center">编号</th>
        <th class="text-center">公司编码</th>
        <th class="text-center">公司名称</th>
        <th class="text-center">类型</th>
        <th class="text-center">省名称</th>
        <th class="text-center">市名称</th>
        <th class="text-center">创建时间</th>
        <th class="text-center">邀请码</th>
        <th class="text-center">操作</th>
    </tr>
    <tr ng-repeat="item in companyInfo track by $index">
    	<td class="text-center">{{item.id}}</td>
        <td class="text-center">{{item.companyCode}}</td>
        <td class="text-center">{{item.companyName}}</td>
        <td class="text-center">
            {{item.companyCategory == '30'?'承运企业':item.companyCategory == '40'?'托运企业':''}}
        </td>
        <td class="text-center">{{item.provinceName}}</td>
        <td class="text-center">{{item.cityName}}</td>
        <!-- <td class="text-center">{{item.updatetime | date:'yyyy-MM-dd HH:mm:ss'}}</td> -->
        <td class="text-center">{{item.createTime | date:'yyyy-MM-dd HH:mm:ss'}}</td>
        <td class="text-center">{{item.securitycode}}</td>
        <td class="text-center">
 			<a href="javascript:;" ui-sref="company-edit-view({id: item.id})">修改</a>
        </td>
    </tr>
    <tr ng-if="companyInfo.length <= 0">
        <td colspan="9">
            <div class="hyc-color text-center">
                暂无公司信息
            </div>
        </td>
    </tr>
</table>
<div ng-include="pageIncludeUrl" ng-if="companyInfo.length > 0"></div>